package com.system.healthproject.model.admin.service;

import com.system.healthproject.bean.PagesBean;
import com.system.healthproject.model.admin.paramsbean.LoginParams;

import java.util.HashMap;
import java.util.Map;

public interface AdminUserService {

    Boolean addUserRole(Integer userId, Integer roleId);


    HashMap<String, Object> login(LoginParams loginParams);

    Boolean addAdminUser(LoginParams loginParams);

    PagesBean<Map<String, Object>> adminList(Integer page, Integer size);

    boolean AdminstopAndStartUp(Integer loginId, Integer state);
}
